<br /><br />
<div id="view-content">
    Il y a <?php echo $this->nb ?> événements
    <ul>
        <?php
        foreach ($this->tabArticle as $article) {
            ?>   
            <li class="red" style="height: 10px;">
                <div class="half left">
                    <a 
                        href=" 
                        <?php echo $this->url(array('module' => 'admin', 'controller' => 'Article', 'action' => 'edit', 'id' => $article->getId())); ?>
                        ">
                            <?php echo $article->getTitle() ?>
                    </a>
                    <div class="tierce right">
                        <?php echo $this->translate('view_event_readall_by') . " " . $article->getOwner()->toString() ?>
                    </div>
                </div>
                <div class="tierce right">
                    <a 
                        href=" 
                        <?php echo $this->url(array('module' => 'admin', 'controller' => 'Article', 'action' => 'delete', 'id' => $article->getId())) ?> 
                        ">
                            <?php echo $this->translate('view_event_delete') ?>
                    </a>
                </div>
            </li>  
                <div>&nbsp;</div>
                <div class="underline"></div>
            <?php
        }
        ?>
    </ul>
    <a href="<?php echo $this->url(array('module' => 'admin', 'controller' => 'Events', 'action' => 'add')) ?>">
        <?php echo $this->translate('view_article_add') ?>
    </a>
</div>
<script>setAdmin();</script>